import request from '@/utils/request'
//获取客户列表
export  const getReportedListApi=(query)=>{
  return request({
    url:'/module/filing/list',
    method:'GET',
    params:query,
  })
}
//客户详情
export const getReportedInfoApi=(id)=>{
  return request({
    url:'/module/filing/'+id,
    method:'GET',

  })
}
//新增
export const addReportedApi=(data)=>{
  return request({
    url:'/module/filing/add',
    method:'POST',
    data,
  })
}
//修改
export const editReportedInfoApi=(data)=>{
  return request({
    url: '/module/filing/update',
    method: 'put',
    data: data
  })
}
//删除
export const delReportedInfoApi=(id)=>{
  return request({
    url:'/module/filing/remove/'+id,
    method:'DELETE'
  })
}

//项目支出费用
//列表
export const getProjectExpendListApi=(query)=>{
  return request({
    url:'/module/projectcostdetails/list',
    method:'GET',
    params:query,
  })
}
//新增
export  const addProjectExpendApi=(data)=>{
  return request({
    url:'/module/projectcostdetails/add',
    method:'POST',
    data,
  })
}
//修改
export  const editProjectExpendApi=(data)=>{
  return request({
    url:'/module/projectcostdetails/update',
    method:'PUT',
    data,
  })
}
//删除
export const delProjectExpendApi=(id)=>{
  return request({
    url:'/module/projectcostdetails/remove/'+id,
    method:'DELETE'
  })
}
//详情
export  const getProjectExpendApiInfoApi=(id)=>{
  return request({
    url:'/module/projectcostdetails/'+id
  })
}
